package uk.co.q3c.deplan.server.util.rules;

import java.io.Serializable;

import javax.persistence.Id;

import uk.co.q3c.deplan.client.domain.AbstractDomainObject;
import uk.co.q3c.deplan.client.domain.DomainKind;
import uk.co.q3c.deplan.client.domain.DomainObject;
import uk.co.q3c.deplan.client.domain.resource.PersistenceReferenceException;
import uk.co.q3c.deplan.client.service.ServiceFactory;

import com.googlecode.objectify.Key;

public class LayoutObjectOptions extends AbstractDomainObject implements Serializable {

	private static final long serialVersionUID = 1L;
	@Id
	private Long keyId;

	/**
	 * 
	 */
	public LayoutObjectOptions() {
		super();
	}

	/**
	 * @param dao
	 */
	public LayoutObjectOptions(ServiceFactory connection) {
		super(connection);
	}

	@Override
	protected void beforeLoad() {
		super.beforeLoad();
	}

	@Override
	public void afterLoad(ServiceFactory connection) {
		super.afterLoad(connection);
	}

	@Override
	public DomainKind getKind() {
		throw new RuntimeException("not yet implemented");
	}

	public Long getKeyId() {
		return keyId;
	}

	@Override
	public Key<? extends DomainObject> getKey() throws PersistenceReferenceException {
		throw new RuntimeException("Not yet implemented");
	}

	@Override
	public void setKeyId(Long keyId) {
		throw new RuntimeException("Not yet implemented");
	}
}
